To find the point of intersection of two lines